package com.ewo.entity.ApplicationPage;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class CustomerEquipment {
    //客户设备id
    private int eq_id;
    //设备编号;
    private String eq_num;
    //产品id
    private int pr_id;
    //产品名称
    private String name;
    //产品型号
    private String model;
    //产品序列号
    private String serial_number;
    //销售日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate sales_date;
    //保修截止日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate guarantee_time;
    //在保状态0保外,1在保
    private int status;
    //员工id
    private int e_id;
    //客户id:客户id不能重复
    private int c_id;
}
